<?php
namespace Home\Controller;
use Think\Controller;
class DetailController extends Controller {
    public function index(){
    	$id = $_GET['id'];
    	$video = M('Video');
    	$video_rec=$video->find($id);
    	$this->assign('video_rec', $video_rec);
        $this->display();
    }
}